package com.example.mindadinner.net;

import java.io.IOException;

import android.os.Handler;

public class NetRequestThread extends RequestThread {

	public NetRequestThread(Request requset, Handler handler) {
		super(requset, handler);
	}

	@Override
	protected void internalRun() throws ApiException, IOException {
		final NetRequest request = (NetRequest) getRequest();
		final NetResponse response = 	NetServiceClientManager.getInstance()
				.getClient().excute(request);
		
		sendSuccessMessage(response);		
	}


}
